<?php
require_once 'class/control.class.php';
ob_start();
?>
	<div id="destaque" style="height: 200px;">
		<?php 
			$obj = new Control('visualizar','banners','5');
			$obj->Lister();
		?>
	</div>
	<div id="conteudo">
		<h1 style="text-transform: uppercase;">CONTATO</h1>
		<form id="formContato" method="post">
			<table width="100%" id="contato">
				<tr valign="top">
					<td width="33%">
						Nome<br />
						<input type="text" name="nome"><br />
						E-mail<br />
						<input type="text" name="email"><br />
						Assunto<br />
						<input type="text" name="assunto"><br />
						Curr&iacute;culo<br />
						<input type="file" name="curriculo"><br />
					</td>
					<td width="33%">
						Mensagem<br />
						<textarea name="msg"></textarea>
						<input type="submit" value="Enviar">
						<input type="hidden" name="pagina" 	id="pagina" value="Contato" />
						<input type="hidden" name="acao" 	id="acao" 	value="insert" />
					</td>
					<td width="33%">
						<iframe width="250" height="160" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=pt-BR&amp;geocode=&amp;q=Zon+Design+Porto+Alegre&amp;aq=&amp;sll=37.0625,-95.677068&amp;sspn=81.04919,186.152344&amp;ie=UTF8&amp;hq=Zon+Design&amp;hnear=Porto+Alegre+-+Rio+Grande+do+Sul,+Rep%C3%BAblica+Federativa+do+Brasil&amp;t=m&amp;cid=5337056481799766411&amp;ll=-30.026077,-51.207533&amp;spn=0.011147,0.021372&amp;z=14&amp;iwloc=A&amp;output=embed"></iframe>
					</td>
				</tr>
			</table>		
		</form>
		<br class="clear" />
	</div>
	<script type="text/javascript">
    	$(document).ready(function() {
    			var options = { 
    		        beforeSubmit:  loading,
    		        success:    sucesso,
    		        url:    'class/server.php'
    			};
    	  		$('#formContato').ajaxForm(options);

    	  		$('.window').css('height','200px');
    	  		$('.image_reel a img').css('height','200px');
		});
	</script>
<?php 
$conteudo = ob_get_contents();
ob_get_clean();
include ("master.php");
?>	